package fate.rent.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import fate.common.util.PageInfoUtil;
import fate.rent.pojo.AAdmins;
import fate.rent.pojo.AUsers;

/**
 * service接口
 * 
 * @author Administrator
 *
 */
public interface IUsersService
{
	/* 管理员功能开始 */
	//管理登录功能
	AUsers auserLoginService(Map<String, Object> condMap);
	//添加客户
	JSONObject saveListUsersService(AUsers aUsers);
	//查询客户
	List<AUsers> ListUsersService(PageInfoUtil pageInfoUtil, Map<String, Object> condMap);
	//添加用户
	JSONObject saveListAdminsService(AAdmins aAdmins);
	//查询用户
	List<AAdmins> ListAdminsService(PageInfoUtil pageInfoUtil, Map<String, Object> condMap);
	//删除用户
	int deleteAdmins(Map<String, Object> condMap);
	//删除客户
	int deleteUsers(Map<String, Object> condMap);

}
